/* ================================
   Télécom SudParis – Academic Theme
   ================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap");

:root {
    --tsp-blue: #005aaa;           /* Azul Télécom SudParis */
    --tsp-dark: #003b71;           /* Azul oscuro institucional */
    --bg-light: #f4f6f9;
    --text-color: #222;
    --radius: 6px;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: var(--bg-light);
    color: var(--text-color);
    display: flex;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 260px;
    background: var(--tsp-blue);
    min-height: 100vh;
    padding: 25px 20px;
    color: white;
    position: sticky;
    top: 0;
}

.sidebar .logo {
    width: 100%;
    margin-bottom: 25px;
}

.sidebar ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.sidebar ul li {
    padding: 6px 0;
}

.sidebar a {
    text-decoration: none;
    color: white;
    font-weight: 300;
}

.sidebar a:hover {
    text-decoration: underline;
}

/* ----- SUBINDICES (indentación) ------ */
.sidebar ul ul {
    margin-top: 6px;
    padding-left: 20px; /* <-- Indentación correcta */
    border-left: 2px solid rgba(255,255,255,0.4);
}

.sidebar ul ul li {
    font-size: 0.95em;
    opacity: 0.9;
}

/* ===== MAIN CONTENT ===== */
.content {
    flex: 1;
    padding: 40px 60px;
}

h1 {
    font-size: 2.3rem;
    color: var(--tsp-dark);
}

h2 {
    margin-top: 35px;
    color: var(--tsp-blue);
    border-left: 4px solid var(--tsp-blue);
    padding-left: 10px;
}

.profile-img {
    width: 220px;
    border-radius: var(--radius);
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.18);
}

.social img {
    width: 38px;
    margin-right: 10px;
    filter: grayscale(100%);
    transition: 0.2s;
}
.social img:hover {
    filter: grayscale(0%);
}
``